package demo01;

/**
 * @author wql
 * @version 1.0
 * @date 2022/11/9 17:12
 */

public class Agency implements Lease{
    private Wql wql;

    public Agency(Wql wql) {
        this.wql = wql;
    }

    @Override
    public void lease() {
        watch();
        wql.lease();
        tuijian();
    }
    public void watch(){
        System.out.println("中介看房");
    }
    public void tuijian(){
        System.out.println("推荐房源");
    }
}
